package com.blb.community.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.blb.community.pojo.ZyComplaintSuggest;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author sun12
 * @description 针对表【zy_complaint_suggest(投诉建议 )】的数据库操作Mapper
 * @createDate 2023-11-20 20:42:34
 * @Entity com.blb.community.pojo.zy.ZyComplaintSuggest
 */
@Mapper
public interface ZyComplaintSuggestMapper extends BaseMapper<ZyComplaintSuggest> {


    /**
     * 建议列表分页
     *
     * @param page
     * @return
     */

    IPage<ZyComplaintSuggest> selectPage(IPage page, String suggestType, Long communityId);

    List<ZyComplaintSuggest> selectComplaintSuggestByUserId(Long userId);


}




